package com.sys.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Getter;
import lombok.Setter;

/*
 *   @author:汪思超
 *   @Pojo:订单实体
 *   @data:2021.3.13
 * 
 * */
@Getter
@Setter
@Entity
@Table(name="order")
public class Order implements Serializable {

	/**
	 * 序列化。
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 订单id
	 * */
	@Id
	@Column(name="id")
	private int id;
	
	/**
	 * 工单标题
	 * */
	@Column(name="title")
	private String title;
	
	/**
	 * 状态码 0未答复 1已答复未关闭 2已关闭
	 * */
	@Column(name="state")
	private String state;
	
	/**
	 * 
	 * 用户id
	 * */
	@Column(name="uid")
	private String uid;
	
	/**
	 * 内容
	 * */
	@Column(name="content")
	private String content;
	

	
	
}
